package com.donghua.entity;

import java.util.Date;

/**
 * @author Cai Lideng
 * @date 2022年04月30日 下午8:19
 * @description
 */
public class Picture {

    private int id;
    private int postId;
    private String pictureUrl;
    private Date createTime;

    public int getId() {
        return id;
    }

    public int getPostId() {
        return postId;
    }

    public String getPictureUrl() {
        return pictureUrl;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setId(int id) {
        this.id = id;
    }

    public void setPostId(int postId) {
        this.postId = postId;
    }

    public void setPictureUrl(String pictureUrl) {
        this.pictureUrl = pictureUrl;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "Picture{" +
                "id=" + id +
                ", postId=" + postId +
                ", pictureUrl='" + pictureUrl + '\'' +
                ", createTime=" + createTime +
                '}';
    }
}
